/**
 * @author Administrator
 */

var proxy = new Ext.data.HttpProxy({url:'/e2qPortalPub/util/userstate.do'});   
var record = new Ext.data.Record.create([   
    {name:'key',type:'string',mapping:'key'},   
    {name:'value',type:'string',mapping:'value'}   
]);   
var reader = new Ext.data.JsonReader({},record);   
var store = new Ext.data.Store({   
    proxy:proxy,   
    reader:reader   
});   
store.load();
 var masterFrom_userState = new Ext.form.ComboBox({
        name: 'userState',
        hiddenName: 'userState',
        fieldLabel:'用户状态',
        typeAhead: true,
        triggerAction: 'all',
        lazyRender: true,
        store: store,
        valueField: 'key',
        displayField: 'value'
    });
	 var detailFrom_userState = new Ext.form.ComboBox({
        name: 'userState',
        hiddenName: 'userState',
        fieldLabel:'用户状态',
		 readOnly: true,
        disabled: true,
		width: 70,
        typeAhead: true,
        triggerAction: 'all',
        lazyRender: true,
        store: store,
        valueField: 'key',
        displayField: 'value'
    });